package com.own.business.login.phone.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.login.phone.common.em.LoginPhoneExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * LoginPhoneException
 *
 * @author chenxueli
 * @date 2023-06-21 15:52:17
 */
public class LoginPhoneException extends BusinessException {

    public LoginPhoneException() {
        super(LoginPhoneExceptionEnum.DEFAULT);
    }

    public LoginPhoneException(String message) {
        super(LoginPhoneExceptionEnum.DEFAULT.code(), message);
    }

    public LoginPhoneException(String code, String message) {
        super(code, message);
    }

    public LoginPhoneException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public LoginPhoneException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
